<?php $this->load->view('include/header');?>

<div id="maincontainer">
        <div id="main_nav">
			<?php $this->load->view('khoa/v_menu_nganh');?>
		</div><!--end div#main_nav-->
	<div id="nd_bg">
             <?php
                      if(isset($baigiang)){
                        foreach($baigiang->result_array() as $row_baigiang):     
              ?> 
                <div id="ten_bg">
                    <b><?php echo $row_baigiang['ten_bai']; ?></b>
                </div> <!-- end #div noidung-->  
                 <div id="noi_dung">
                    <?php echo $row_baigiang['tuan']; ?>
                </div> <!-- end #div ten_bg-->   
                <div id="ngay">
                    <?php echo date('d-m-y',strtotime($row_baigiang['ngay'])); ?>
                </div> <!-- end #div ten_bg-->
                <div id="hinh">
                    <img src="<?php echo base_url()."upload/images/".$row_baigiang['images']?>" alt=""/>
                </div>
                <div id="">
                    <object width="338" height="300">
                        <param name="src" value="<?php echo base_url()."upload/videos/".$row_baigiang['video']?>"/>
                        <param name="autoplay" value="false"/>
                        <param name="controller" value="true"/>
                        <param name="bgcolor" value="#333333"/>
                        <embed TYPE="application/x-mlayer2" src="<?php echo base_url()."upload/videos/".$row_baigiang['video']?>" autostart="false" loop="false" width="338" height="300" controller="true" bgcolor="#333333"/>
                    </object>
                </div>
                 
            <?php    endforeach;
                      }
                ?>
    </div>
	</div><!--End div#main-content-->
</div><!--end #maincontainer-->
<?php $this->load->view('include/footer');?>